Skip to content

only listen for Escape while it can close a menu - #896

Merged
MalpenZibo merged 1 commit into
MalpenZibo:mainfrom
romanstingler:fix/esc-key-subscription
Aug 10, 2026
Merged

only listen for Escape while it can close a menu#896
MalpenZibo merged 1 commit into
MalpenZibo:mainfrom
romanstingler:fix/esc-key-subscription

Conversation

@romanstingler

@romanstingler romanstingler commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

fix 1/X
related to #895

The Escape-key subscription was always active, even though it can only do
something when enable_esc_key is set and a menu is open. An idle
listen_with subscription is not free: iced copies every interaction event
into a fixed-size channel per subscription and warns when it overflows.

@github-actions github-actions Bot added the bug Something isn't working label Aug 3, 2026
@MalpenZibo

Copy link
Copy Markdown
Owner

Ok, for the fix.

We should probably deprecate this function and move this feature to the IPC. It requires more settings on the compositor side (a new keybinding) but it should be a cleaner solution.

@MalpenZibo
MalpenZibo merged commit e7e6e8c into MalpenZibo:main Aug 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants